﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master"
    CodeBehind="ForgetPassword.aspx.vb" Inherits="BookOrderingSystem.ForgetPassword" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<p>
        <asp:Label ID="UserName" runat="server"> Your user name:</asp:Label>
        <asp:TextBox ID="tb_UserName" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="User name is required"
            ControlToValidate="tb_UserName" ForeColor="Red">*</asp:RequiredFieldValidator>
    </p>
    <p>
        <asp:Label ID="EmailLabel" runat="server" AssociatedControlID="tb_email"> Your Email Address:</asp:Label>
        <asp:TextBox ID="tb_email" runat="server"></asp:TextBox>
        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage="Email Address format is not valid"
            ControlToValidate="tb_email" ForeColor="Red" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">*</asp:RegularExpressionValidator>
        <asp:RequiredFieldValidator ID="rfv_email" runat="server" ErrorMessage="Email is required"
            ControlToValidate="tb_email" ForeColor="Red">*</asp:RequiredFieldValidator>
    </p>
    <p>
        <asp:Button ID="bn_send" runat="server" Text="Send Password" />
    </p>
    <p>
        <asp:Label ID="lb_message" runat="server" ForeColor="Red"></asp:Label>
    </p>
    <asp:ValidationSummary ID="ValidationSummary1" runat="server" ForeColor="Red" />
</asp:Content>
